package com.xiaoma.thread.wait.a1b2c3d4;

/**
 * @author maj
 * @ClassName Test
 * @Description
 * @date 2020-09-29 9:13
 */
public class Test {

  public static void main(String[] args){
    final Object lock = new Object();
    Thread1 t1 = new Thread1(lock);
    Thread2 t2 = new Thread2(lock);
    t1.start();

    t2.start();
  }
}

